package com.chengzhi.disruptor.quickstart;


import com.lmax.disruptor.EventHandler;

public class OrderEventHandler implements EventHandler<OrderEvent> {

    @Override
    public void onEvent(OrderEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("consumer receive " + event.getOrderId() +" ---" + sequence + "--" +endOfBatch);
    }
}
